// Machine generated IDispatch wrapper class(es) created with ClassWizard
/////////////////////////////////////////////////////////////////////////////
// CIAuthority wrapper class

#ifndef __AUTHORITY_H
#define __AUTHORITY_H

class CIAuthority : public COleDispatchDriver
{
public:
	CIAuthority() {}		// Calls COleDispatchDriver default constructor
	CIAuthority(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
	CIAuthority(const CIAuthority& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

// Attributes
public:

// Operations
public:
	BOOL Initialize();
	long AddRole(LPCTSTR bstrRoleName, LPCTSTR bstrAdmittanceGateways);
	long UpdateRole(LPCTSTR bstrOriginalRoleName, LPCTSTR bstrNewRoleName, LPCTSTR bstrAdmittanceGateways);
	long DeleteRole(LPCTSTR bstrRoleName);
	long GetRoles(BSTR* pbstrRoles);
	long SetUserGroupDefaultRole(LPCTSTR bstrGroupName, LPCTSTR bstrRoleName);
	long SetUserRole(LPCTSTR bstrGroupName, LPCTSTR bstrRoleName);
	void CheckGateway(LPCTSTR bstrUserName, LPCTSTR bstrGateway, long* ret);
};

#endif